<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{background-color: #000;}
        .ads, .ads2{width: 1000px; height: 120px; background-color: #333;}
    </style>
</head>
<body>
    <div class="ads"></div>
    <br><br>
    <div class="ads2"></div>
    <script src="lz.ads.js"></script>
    <script>
        var data = [
            {img:'https://image.cm.jstv.com/images/2022/10/26/202210261666777484467_199.jpg', url: 'http://www.baidu.com'},
            {img:'https://image.cm.jstv.com/images/2022/10/8/20221081665221755207_2012_s.png', url: 'http://www.baidu.com'},
            {img:'https://image.cm.jstv.com/images/2022/10/8/20221081665221755207_2012_s.png', url: 'http://www.baidu.com'},
            {img:'https://image.cm.jstv.com/images/2022/10/8/20221081665221755207_2012_s.png', url: 'http://www.baidu.com'},
            {img:'https://image.cm.jstv.com/images/2022/10/8/20221081665221755207_2012_s.png', url: 'http://www.baidu.com'},
        ]
        var ads = new lzAds('.ads', data);
        var ads2 = new lzAds('.ads2', {
            data: data,
            direction: 'top',
            time: 2000,
            target: '_self',
            duration: '.5s'
        });
    </script>
</body>
</html>